﻿<%@ Page Title="" Language="C#" MasterPageFile="~/MasterPage/PageTemplate.Master"
    AutoEventWireup="true" CodeBehind="Index.aspx.cs" Inherits="FrameWork.web.Module.IntegralMS.IntegralMS.IntegralManager.Index" %>

<asp:Content ID="Content1" ContentPlaceHolderID="PageBody" runat="server">
    <link rel="stylesheet" type="text/css" href="<%=Page.ResolveUrl("~/") %>inc/FineMessBox/css/subModal.css" />
    <script type="text/javascript" src="<%=Page.ResolveUrl("~/") %>inc/FineMessBox/js/common.js"></script>
    <script type="text/javascript" src="<%=Page.ResolveUrl("~/") %>inc/FineMessBox/js/subModal.js"></script>
    <FrameWorkWebControls:HeadMenuWebControls ID="HeadMenuWebControls1" runat="server"
        ButtonList-Capacity="4" HeadOPTxt="积分考核管理" HeadTitleTxt="积分考核管理" HeadHelpTxt="点击班级进入学员积分管理">
    </FrameWorkWebControls:HeadMenuWebControls>
    <%--<FrameWorkWebControls:TabOptionWebControls ID="TabOptionWebControls1" runat="server">--%>
        <FrameWorkWebControls:TabOptionItem ID="TabOptionItem1" runat="server" Tab_Name="学员列表">
            <div style="height: 22px; width: 100%; text-align: left; vertical-align: middle;">
                <span style="float: left; margin-left: 4px; margin-top: 5px; margin-right: 3px;">班级：</span>
                <asp:DropDownList ID="DropDownList1" runat="server">
                </asp:DropDownList>
                <asp:Button ID="Button1" runat="server" CssClass="button_bak" Text="刷新" OnClick="Button1_Click" />
            </div>
            <div style="width: 450px; float: left;">
                <asp:Repeater ID="Repeater1" runat="server">
                    <HeaderTemplate>
                        <table id="Tab" class="table-box">
                            <tr class="table_title">
                                <th scope="col">
                                    选择
                                </th>
                                <th scope="col">
                                    姓名
                                </th>
                                <th scope="col">
                                    总积分
                                </th>
                                <th scope="col">
                                    操作
                                </th>
                            </tr>
                    </HeaderTemplate>
                    <ItemTemplate>
                        <tr class="row">
                            <td>
                                <asp:CheckBox runat="server" ID="cbSelect" />
                            </td>
                            <td>
                                <asp:Label runat="server" ID="StuID" Visible="false" Text='<%#Eval("StuID") %>'></asp:Label>
                                <asp:Label runat="server" ID="S_Name" Text='<%#Eval("S_Name") %>'></asp:Label>
                            </td>
                            <td>
                                <%# GetScore()%>
                            </td>
                            <td>
                                <asp:DropDownList runat="server" ID="ddlType">
                                    <asp:ListItem Selected="True">+</asp:ListItem>
                                    <asp:ListItem>-</asp:ListItem>
                                </asp:DropDownList>
                                <asp:TextBox ID="txtScore" CssClass="text_input" runat="server"></asp:TextBox>
                            </td>
                        </tr>
                    </ItemTemplate>
                    <AlternatingItemTemplate>
                        <tr class="row1">
                            <td>
                                <asp:CheckBox runat="server" ID="cbSelect" />
                            </td>
                            <td>
                                <asp:Label runat="server" ID="StuID" Visible="false" Text='<%#Eval("StuID") %>'></asp:Label>
                                <asp:Label runat="server" ID="S_Name" Text='<%#Eval("S_Name") %>'></asp:Label>
                            </td>
                            <td>
                                <%# GetScore()%>
                            </td>
                            <td>
                                <asp:DropDownList runat="server" ID="ddlType">
                                    <asp:ListItem Selected="True">+</asp:ListItem>
                                    <asp:ListItem>-</asp:ListItem>
                                </asp:DropDownList>
                                <asp:TextBox ID="txtScore" CssClass="text_input" runat="server"></asp:TextBox>
                            </td>
                        </tr>
                    </AlternatingItemTemplate>
                    <FooterTemplate>
                        </table></FooterTemplate>
                </asp:Repeater>
            </div>
            <div style="width: 300px; float: right; height: 300px; margin-left: 5px; border: 1px solid #123456">
                <asp:Literal ID="Literal1" runat="server"></asp:Literal>
            </div>
            <div style="clear: both;">
                <span>请输入考核项目</span>
                <textarea name="Memo" id="bak" runat="server" rows="2" wrap="PHYSICAL" cols="50" ></textarea>最多字数：25
                    
                    <asp:Button ID="Button2" runat="server" CssClass="button_bak" Text="保存" OnClick="Button2_Click" /></p>
            </div>
        </FrameWorkWebControls:TabOptionItem>
   <%-- </FrameWorkWebControls:TabOptionWebControls>--%>
    <%--<script type="text/javascript" language="javascript">
    <!--
function checktext(text)
{
    allValid = true;
    for (i = 0;  i < text.length;  i++)
    {
      if (text.charAt(i) != " ")
      {
        allValid = false;
        break;
      }
    }
return allValid;
}

function gbcount(message,total,used,remain)
{
  var max;
  max = total.value;
  if (message.value.length > max) {
  message.value = message.value.substring(0,max);
  used.value = max;
  remain.value = 0;
 <!-- alert("留言不能超过 200 个字!");-->
 alert("不能超过"+total.value+"个字!");
  }
  else {
  used.value = message.value.length;
  remain.value = max - used.value;
  }
}

-->
</script>--%>
</asp:Content>
